home *** CD-ROM | disk | FTP | other *** search
/ Screen Effects / Screen Effects.iso / programs / worm / about.c next >
C/C++ Source or Header  |  1994-04-27  |  396b  |  21 lines

  1.  
  2. #include "worm.h"
  3.  
  4. BOOL FAR PASCAL AboutDlgProc(HWND hDlg, unsigned message, WORD wParam,
  5.                              LONG lParam)
  6. {
  7. switch(message)
  8.     {
  9.     case WM_INITDIALOG:
  10.         return (TRUE);
  11.     case WM_COMMAND:
  12.         if (wParam == IDOK)
  13.             {
  14.             EndDialog(hDlg, NULL);
  15.             return (TRUE);
  16.        }
  17.         break;
  18.     }
  19. return(FALSE);
  20. }
  21.